import { fetchEventSource } from '@microsoft/fetch-event-source';

export default function fetchEventRequest(url:string, config:any) {
	return fetchEventSource(import.meta.env.VITE_SERVE + import.meta.env.VITE_APP_BASE_API + url, config);
}